package com.chenglai.seckill.entity;

import java.io.Serializable;
import java.util.List;


public class MainOrder  implements Serializable {

	/**
	 * 门店ID
	 */
	private Integer shopId;

	/**
	 * 用户ID
	 */
	private Integer userId;

	/**
	 * 订单号
	 */
	private String orderNum;

	/**
	 * 状态0未支付1已支付2已发货3已完成4已取消5已退款
	 */
	private Integer orderStatus;

	/**
	 * 下单时间
	 */
	private String orderTime;

	/**
	 * 支付时间
	 */
	private String payTime;

	/**
	 * 总价
	 */
	private Double totalSum;

	/**
	 * 实付价格
	 */
	private Double realSum;

	/**
	 * 订单备注
	 */
	private String moNote;

    private List<Order> orderList;


    /**
     * 订单来源 0 为正常下单1为开团  2为参团
     */
    private String orderFrom;

    /**
     * 开团商品的标的主键groupId，党委参团是，主团groupInfoId
     */
    private Integer groupId;
    /**
     * 每团人数
     */
    private Integer groupNum;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public Double getTotalSum() {
        return totalSum;
    }

    public void setTotalSum(Double totalSum) {
        this.totalSum = totalSum;
    }

    public Double getRealSum() {
        return realSum;
    }

    public void setRealSum(Double realSum) {
        this.realSum = realSum;
    }

    public String getMoNote() {
        return moNote;
    }

    public void setMoNote(String moNote) {
        this.moNote = moNote;
    }

    public List<Order> getOrderList() {
        return orderList;
    }

    public void setOrderList(List<Order> orderList) {
        this.orderList = orderList;
    }

    public String getOrderFrom() {
        return orderFrom;
    }

    public void setOrderFrom(String orderFrom) {
        this.orderFrom = orderFrom;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getGroupNum() {
        return groupNum;
    }

    public void setGroupNum(Integer groupNum) {
        this.groupNum = groupNum;
    }
}
